/**
 * Copyright 2008 Benjamin Possolo
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.javenue.util.process;

import org.javenue.util.process.ProcessState;

/**
 * @author Benjamin Possolo
 * <p>Created on Sep 1, 2008
 */
public class PersonProcessState extends ProcessState {

	public static final int START_STATE = 0;
	public static final int NAME_OK_STATE = 1;
	public static final int AGE_OK_STATE = 2;
	
	private String firstname;
	private String lastname;
	private int age;
	private String height;
	private char sex;
	
	public PersonProcessState(){
		setState(START_STATE);
	}
	
	@Override
	public String getStateAsString() {
		return null;
	}

	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	public String getHeight() {
		return height;
	}
	public void setHeight(String height) {
		this.height = height;
	}
	public String getLastname() {
		return lastname;
	}
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}
	public char getSex() {
		return sex;
	}
	public void setSex(char sex) {
		this.sex = sex;
	}
}